home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr37
/
rampage5.zip
/
RAMPAGE.WCX
(
.txt
)
< prev
next >
Wrap
Wildcat! WCX
|
1995-02-07
|
9KB
|
391 lines
'! Decompiled with wccNosy version 4.20f (freeware)
'! Input File: in.wcx 8865 bytes 01/29/123 04:31:18pm
'! Code Segment Size :4869 bytes
'! Data Segment Size :4699 bytes
'! String Segment Size:3996 bytes
'! Compiled with WCC version 4.01
Declare Function Func2316 As Integer
Declare Function Func4721(s65534 As String, s65532 As String) As Integer
Declare Function Func4772 As Integer
Declare Function Func4798 As Integer
Dim i4463 As Integer
Dim s4465 As String*65
Dim s4530 As String
Dim i4534 As Integer
Dim i4536 As Integer
Dim s4538(1 To 3) As String*45
Dim i4673 As Integer
Dim i4675(4 To 5) As Integer
Dim i4679 As Integer
Dim s4681(6 To 7) As String
Dim s4689 As String
Dim s4693 As String
Dim i4697 As Integer
Dim l65514_ As Long
Dim i65518_ As Integer
Dim l65520_ As Long
Dim i65524_ As Integer '! Temporary
Dim l65526_ As Long
Dim s65528_ As String '! Temporary
Dim i65530_ As Integer
Dim s65532_ As String
CarrierCheck(-1)
i4463 = Conference.Number
i4697 = 0
Open ProgPath + "RAMPAGE.BAD" For Input As 1
93 Do While Not EOF(1)
Input #1, s4693
If Func4721((User.Name), (s4693)) Then
i4697 = -1
End If
179 Loop
185 Close 1
Open ProgPath + "RAMPAGE.CFG" For Input As 1
236 For i4536 = 1 To 3 Step 1
Input #1, s4538(i4536)
Next
347
368 For i4673 = 4 To 5 Step 1
Input #1, i4675(i4673)
Next
478
499 For i4679 = 6 To 7 Step 1
Input #1, s4681(i4679)
Next
608 Close 1
613 Func4798
620 Do While -1
s4530 = InKey(1213417543)
s65532_ = UCase(s4530)
If s65532_ = "C" Then
Join i4675(5)
Comment
Join i4463
GoTo 613
Else
726 If s65532_ = "P" Then
Print "@CLS@@07@"
Print "!|*|1K|w0000270N12|#|#|#@CLS@@0F@"
Print ""
Print "@0E@ @0C@ @09@ @0C@ @07@"
Print "@0E@ @19@ @10@┌┤ @1A@RamPage!@10@ ├─────────────────────────────────────────@19@┐ @07@"
Print "@0E@ @19@ @10@│@19@ ┌─────────────────────────────────────────────────@10@┐@19@ │ @07@"
Print "@0E@ @19@ @10@│@19@ │ @1E@ What Is Your Reason For Paging The SysOp? @10@│@1E@ @19@│ @07@"
Print "@0E@ @19@ @10@│@1E@ @19@│@1E@ @1C@ No Reason - No Response! @1E@ @10@│@1E@ @19@│ @07@"
Print "@0E@ @10@ │ @19@└@10@─────────────────────────────────────────────────┘ @19@│@10@ @07@"
Print "@0E@ @19@ @10@│@19@ ┌─────────────────────────────────────────────────@10@┐@19@ │ @07@"
Print "@0E@ @19@ @10@│@19@ │@1F@>@0E@ @09@ @0E@ @09@ @1F@<@10@│@19@ │ @07@"
Print "@0E@ @19@ @10@│@19@ └@10@─────────────────────────────────────────────────┘@19@ │ @07@"
Print "@0E@ @19@ @10@└@19@───────────────────────────────────┤@1A@ by Scott Ramer@19@ ├┘ @07@"
Print "@0E@ @07@ @09@ @07@ @09@ @07@"
Print "@0E@ @07@ @08@ @07@ @09@ @07@"
Locate 10, 16
s4465 = InputMask("@1F@>@0E@", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If s4465 = "" Then
GoTo 613
Else
945 Locate 15, 1
Print " @20@ ┌─────────────────────────────@2A@┐ @07@"
Print " @0E@ @2A@ @20@│@2A@ @2E@Hit Spacebar To Abort Page! @2A@│ @07@"
Print " @2A@ @20@└@2A@─────────────────────────────┘ @07@"
If i4697 = -1 Then
ActivityLog ">>>>> RamPage BAD User Attempted Paging SysOp. <<<<<"
ActivityLog "User's Reason: " + s4465
ActivityLog "User Given FakePage Instead."
Locate 20, 1
Print "@0F@Paging Sysop..."
Delay 3
If InKey(1213417543) = Chr(32) Then
GoTo 613
Else
1084 Locate 20, 17
Print " 1 "
Delay 3
If InKey(1213417543) = Chr(32) Then
GoTo 613
Else
1141 Locate 20, 21
Print " 2 "
Delay 3
If InKey(1213417543) = Chr(32) Then
GoTo 613
Else
1198 Locate 20, 25
Print " 3 "
Delay 3
If InKey(1213417543) = Chr(32) Then
GoTo 613
Else
1255 Locate 20, 29
Print " 4 "
Delay 3
If InKey(1213417543) = Chr(32) Then
GoTo 613
Else
1312 Locate 20, 33
Print " 5 "
Delay 3
DisplayFile("" + UCase(s4538(3)))
If InputYesNo("@SYSOP@ is not available, would you like to leave a message? ", 1213417543) Then
Join i4675(5)
Comment
Join i4463
End If
End If
End If
End If
End If
End If
1446 GoTo 613
Else
1458 Print ""
ActivityLog "Reason for Page: " + s4465
Locate 19, 1
PageSysop
GoTo 613
End If
End If
1499 Else
1505 If s65532_ = "Q" Then
Print "@CLS@@07@"
End
Else
1538 If s65532_ = "G" Then
If UCase(s4681(6)) = "ENABLE CHAIN" Then
Chain "" + UCase(s4681(7)), ""
Else
1655 DisplayFile("GOODBYE")
ActivityLog "User Logged Off From Page Menu."
Goodbye 0
End If
1676 End
Else
1683 If s65532_ = "E" Then
If i4697 = -1 Then
GoTo 613
Else
1728 If UCase(s4538(2)) = "DISABLE EMERGENCY PAGE" Then
GoTo 613
Else
1788 Print "@CLS@@07@"
Print "!|*|1K|w0000270N12|#|#|#@CLS@@0F@"
Print ""
Print "@0E@ @0C@ @09@ @0C@ @07@"
Print "@0E@ @4C@ @40@┌┤@43@ @47@RamPage!@43@ @40@├─────────────────────────────────────────@4C@┐ @07@"
Print "@0E@ @4C@ @40@│@4C@ ┌─────────────────────────────────────────────────@40@┐@4C@ │ @07@"
Print "@0E@ @4C@ @40@│@4C@ │ @4E@ Reason For Sounding The Emergency Page Alarm?@4C@ @40@│@4C@ │ @07@"
Print "@0E@ @4C@ @40@│@4C@ │ @4E@ @4A@ Leave Blank to Abort! @4B@Password Required! @4C@ @40@│@4C@ │ @07@"
Print "@0E@ @4C@ @40@│@4C@ └@40@─────────────────────────────────────────────────┘@4C@ │ @07@"
Print "@0E@ @4C@ @40@│@4C@ @40@┌─────────────────────────────────────────────────@4C@┐ │ @07@"
Print "@0E@ @4C@ @40@│@4C@ @40@│@4E@>@07@ @4E@<@4C@│ │ @07@"
Print "@0E@ @4C@ @40@│@4C@ @40@└@4C@─────────────────────────────────────────────────┘ │ @07@"
Print "@0E@ @4C@ @40@└@4C@───────────────────────────────────┤@4A@ @47@by Scott Ramer@4F@ @4C@├┘ @07@"
Print "@0E@ @07@ @09@ @07@ @09@ @07@"
Print "@0E@ @07@ @08@ @07@ @09@ @07@"
Locate 10, 16
s4465 = InputMask("@4F@>@0E@", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If s4465 = "" Then
GoTo 613
Else
1990 ActivityLog ">>>>> User Attempted Emergency Paging SysOp! <<<<<"
ActivityLog "User's Emergency: " + s4465
Locate 18, 1
Print "What is the @0C@Emergency Page@0E@ Password? "
Locate 18, 38
Input s4689
s4689 = UCase(s4689)
s4538(1) = UCase(s4538(1))
If s4689 = s4538(1) Then
Print "@0B@Paging SysOp, Please Wait . . ."
Func2316
Print ""
Print "@0E@@SYSOP@ Has Been @0C@Alerted@0E@ And Will Respond If Possible."
WaitEnter
GoTo 613
Else
2214 Print "@8C@Incorrect@0C@ @0B@Emmergency Page Password!"
WaitEnter
ActivityLog "Incorrect Emergency Page Password!"
GoTo 613
End If
End If
End If
End If
2240 Else
2246 If s65532_ = "" + Chr(13) Then
GoTo 613
GoTo 2282
End If
End If
End If
End If
End If
End If
2282 Loop
2288
'! Called 1 time
Function Func2316 As Integer
Dim l65526 As Long
Dim i65530 As Integer
Dim i65532 As Integer
i65532 = 1
2382 For i4534 = 1 To i4675(4) Step 1
Locate 19, 33
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 1000, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 100, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 1000, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 200, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 1000, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 300, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 1000, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 400, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 1000, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 500, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 1000, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 600, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 1000, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 700, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 1000, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 800, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 1000, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 900, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
Sound 1000, 0
Print Mid("\|/-", i65532, 1);
i65532 = i65532 Mod Len("\|/-") + 1
Delay 0
Print Chr(8); Mid("\|/-", i65532, 1);
Print Chr(8); " "; Chr(8);
If i4534 < i4675(4) Then
End If
4690 Next
4713
End Function
'! Called 1 time
Function Func4721(s65534 As String, s65532 As String) As Integer
Func4721 = 0
If s65534 = s65532 Then
Func4721 = -1
End If
4764
End Function
'! Called 1 time
Function Func4772 As Integer
DisplayFile("RAMPAGE")
End Function
'! Called 1 time
Function Func4798 As Integer
If RIPDetected Then
Func4772
Else
4829 DisplayFile("RAMPAGE")
Locate 22, 1
Print "@0E@ Please ENTER Your Choice: "
Locate 22, 28
End If
4861
End Function